package com.ddone.service;

import com.ddone.bean.User;

import java.util.List;

/**
 * @author ddone
 * @date 2024/3/24-14:07
 */
public interface UserService {

    User login(User user);

    int save(User user);

    List<User> list();

    int delete(String uId);

    User getById(String uid);

    int update(User user);

    List<User> search(String keyword);
}
